home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 1999 May
/
SGI IRIX 6.5 Applications 1999 May.iso
/
dist
/
impr_print.idb
/
usr
/
share
/
catman
/
a_man
/
cat1
/
hpnpf.z
/
hpnpf
Wrap
Text File
|
1998-05-04
|
6KB
|
199 lines
hhhhppppnnnnppppffff((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo hhhhppppnnnnppppffff((((1111))))
NNNNAAAAMMMMEEEE
hpnpf, nethandler - network peripheral filter
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
hhhhppppnnnnppppffff ----PPPP _p_r_i_n_t_e_r_n_a_m_e ----xxxx _p_e_r_i_p_h_e_r_a_l [ ----nnnnNNNNRRRRvvvvwwww ] [ ----aaaa ttttyyyyppppeeee ] [ ----bbbb jjjjoooobbbbssssiiiizzzzeeee
] [ ----jjjj jjjjoooobbbbiiiidddd++++uuuusssseeeerrrriiiidddd ] [ ----llll _l_o_g_f_i_l_e ] [ ----pppp _p_o_r_t ] [ ----ssss _s_t_a_t_u_s-_f_i_l_e ] [
_f_i_l_e ... ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_H_p_n_p_f is a specialized TCP driver for driving network printers. A
network printer is a printer attached to the local area network via its
JetDirect interface or JetDirect EX interface.
_H_p_n_p_f is capable of handling bi-directional communications. It accepts
input from either file(s) or standard input. If the file(s) is supplied,
it reads each _f_i_l_e in sequence, sends it to a network printer over a TCP
connection. If no input file is given, or if the argument - is
encountered, _h_p_n_p_f reads from the standard input, enabling hpnpf to work
with other programs. _H_p_n_p_f also handles the information coming back from
the printer. Depending on the specified options (see below), _h_p_n_p_f may
pass all the information to standard output, or filter out the PJL data.
If _h_p_n_p_f fails to make a connection to _p_e_r_i_p_h_e_r_a_l, the connection is
retried until a successful connection is made unless ----RRRR is specified.
OOOOppppttttiiiioooonnnnssss
----PPPP_p_r_i_n_t_e_r_n_a_m_e
_p_r_i_n_t_e_r_n_a_m_e is the name under which the System V R3 spooler
recognizes the printer, as given on the llllpppp command line. Used to
update the Impressario POD status data base for the printer.
----aaaa _t_y_p_e
Indicate that the printer is a PJL (Printer Job Language) based
printer. The _t_y_p_e identifies the type of network interface: 1 for HP
JetDirect interface, 3 for HP JetDirect EX interface.
----jjjj _j_o_b_i_d+_u_s_e_r_i_d
Provide job id and user id to hpnpf. Both are used status messages.
----llll _l_o_g_f_i_l_e
Write verbose logging information to _l_o_g_f_i_l_e. The logging messages
are details about what _h_p_n_p_f is doing. It is mainly for debugging
use. If the specified log file is not writable, no logging is
performed.
PPPPaaaaggggeeee 1111
hhhhppppnnnnppppffff((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo hhhhppppnnnnppppffff((((1111))))
----nnnn Send the PCL escape sequence (ESC&k2G) before the files. This sets
the end-of-line character to be newline (ASCII LF) instead of
carriage-return/line-feed.
----NNNN Translate newline (ASCII LF) characters to carriage-return/line-feed
character pairs for data sent to the network peripheral. Do not use
this option for binary transfers.
----pppp _p_o_r_t
Connect to _p_o_r_t on the network peripheral. The default is port
9100.
----RRRR Do not retry connecting if the first connection attempt fails. This
option allows the retry interval and number of retries before giving
up to be controlled external to _h_p_n_p_f.
----ssss _s_t_a_t_u_s-_f_i_l_e
A a series of printing events are recorded in this file The details
varies, depending on the type of printers, network interfaces, and
whether the true end-of-job is turned on or off. The status
information is recorded in the following formats:
<date>%%[ status: <status>; source:<ethernet/token ring> ]%%
<date>%%[ status: <status> ]%%
<date>%%[ printer: <printer error> ]%%
----xxxx _p_e_r_i_p_h_e_r_a_l
Send the file to _p_e_r_i_p_h_e_r_a_l. This may be a host name or dotted
decimal Internet address.
----wwww Turn on _t_r_u_e _e_n_d-_o_f-_j_o_b. By default, hpnpf reports successful as
soon as all the files are sent successfully. Turning on _t_r_u_e _e_n_d-
_o_f-_j_o_b forces hpnpf to hang on until receiving a signal from the
printer indicating that the job has been completely printed. This
option is only valid for printers which implement PJL job commands,
such as LaserJet 4, 4Si, and 4 Plus.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
_H_p_n_p_f returns 0 if all the files are sent successfully (true end-of-job
is off), or when a job are printed successfully (true end-of-job is on).
It returns non-zero values if a failure was detected.
PPPPaaaaggggeeee 2222
hhhhppppnnnnppppffff((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo hhhhppppnnnnppppffff((((1111))))
AAAAUUUUTTTTHHHHOOOORRRR
Hewlett-Packard.
PPPPaaaaggggeeee 3333